﻿using System;
using System.Linq;
using System.Text;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using SqlSugar;

namespace Aioms.Dtos
{
    ///<summary>
    /// 故障记录
    ///</summary>
    public class TrbrcdListDto
    {
        public TrbrcdListDto()
        {
        }

        /// <summary>
        /// 维修单号
        /// </summary>     
        [JsonProperty("wonumber")]
        public string WoNumber { get; set; }

        /// <summary>
        /// 报修单号
        /// </summary>     
        [JsonProperty("nrnumber")]
        public string NrNumber { get; set; }

        /// <summary>
        /// 故障部位
        /// </summary> 
        [JsonProperty("position")]
        public string Position { get; set; }

        /// <summary>
        /// 故障等级
        /// </summary> 
        [JsonProperty("level")]
        public string Level { get; set; }

        /// <summary>
        /// 是否停机
        /// </summary> 
        [JsonProperty("ishalt")]
        public string IsHalt { get; set; }

        /// <summary>
        /// 故障时间
        /// </summary> 
        [JsonProperty("trouble_time")]
        public DateTime TroubleTime { get; set; }

        /// <summary>
        /// 维修开始时间
        /// </summary> 
        [JsonProperty("wxbegintime")]
        public DateTime WxBeginTime { get; set; }

        /// <summary>
        /// 维修结束时间
        /// </summary> 
        [JsonProperty("wxendtime")]
        public DateTime WxEndTime { get; set; }

        /// <summary>
        /// 故障描述
        /// </summary> 
        [JsonProperty("description")]
        public string Description { get; set; }

        /// <summary>
        /// 报修人
        /// </summary> 
        [JsonProperty("sbrealname")]
        public string SbRealname { get; set; }

        /// <summary>
        /// 维修人
        /// </summary> 
        [JsonProperty("wxrealname")]
        public string WxRealname { get; set; }

    }
}
